package com.mercury.service;

import com.alibaba.fastjson.JSONObject;
import com.mercury.dao.IPcschoolinfoDao;
import com.mercury.entity.Pcshoolinfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PcschoolinfoService {

    @Autowired
    IPcschoolinfoDao pcschoolinfoDao;

    public List<Pcshoolinfo> SearchPcschoolinfos(JSONObject json) {
        return pcschoolinfoDao.SearchPcschoolinfos(
                json.getString("District"));
    }
}
